package com.qiyuexinxi.chat.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author yangxingyu
 * @date 2020/3/6
 * @description
 */
@ApiModel("添加关注接口")
@Data
public class AttentionAddRequest {

    @ApiModelProperty(value = "用户id",required = true)
    @NotNull(message = "用户id不能为空")
    private Integer userId;

    @ApiModelProperty(value = "被关注人id",required = true)
    @NotNull(message = "被关注人id不能为空")
    private Integer attentionUser;

}
